package xyz.renyumeng.xkm.cos;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author renyumeng
 * @date Created in 9:03 2023/7/5
 */

@SpringBootApplication(
        exclude = DataSourceAutoConfiguration.class,
        scanBasePackages = {
                "xyz.renyumeng.xkm.cos",
                "xyz.renyumeng.xkm.config.json",
                "xyz.renyumeng.xkm.config.feign",
                "xyz.renyumeng.xkm.config.swagger"
        }
)
@EnableFeignClients
@EnableSwagger2
@EnableDiscoveryClient
public class ServiceCosApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceCosApplication.class, args);
    }
}
